package com.yugu.park.dto;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;

/**
 * @author gxf
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MiniUser {
    @ApiModelProperty(value = "昵称")
    private String nickName;
    @ApiModelProperty(value = "微信id")
    private String openId;
    @ApiModelProperty(value = "头像地址")
    private String avatarUrl;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "性别：1男2女")
    private Integer sex;
    private String authorization;
    @ApiModelProperty(value = "手机号")
    private String mobile;
    @ApiModelProperty(value = "生日")
    @DateTimeFormat(value = "yyyy-MM-dd")
    private Date birthday;
    @ApiModelProperty(value = "所在地ID")
    private String locationId;
    @ApiModelProperty(value = "是否领取新人礼：0已领，1未领")
    private Integer receiveFlag;
    @ApiModelProperty(value = "地址")
    private String address;

//    private String openId;是否为合伙人：0否，1是
//    private String shopId;
//    private String shopName;
}
